<?php /* Smarty version 2.6.18, created on 2009-03-09 15:39:06
         compiled from editpic.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'webcontrol', 'editpic.html', 9, false),array('function', 'url', 'editpic.html', 10, false),)), $this); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>视听词典</title>
<link href="templates/css/index.css" rel="stylesheet" type="text/css" />
</head>
<body>
  <?php echo $this->_plugins['function']['webcontrol'][0][0]->_pi_func_webcontrol(array('type' => 'menu','name' => 'mymenu'), $this);?>

    <form id="pic" method='post' action="<?php echo $this->_plugins['function']['url'][0][0]->_pi_func_url(array('controller' => 'pic','action' => 'edit'), $this);?>
" enctype="multipart/form-data">
        图片ID:<br><input type="text" name="id" value="<?php echo $this->_tpl_vars['pic']['id']; ?>
" readOnly=true>
        <br>
        单词:<br><input type="text" name="word" value="<?php echo $this->_tpl_vars['pic']['Word']; ?>
" readOnly=true>
        <br>
        编号:<br><input type="text" name="no" value="<?php echo $this->_tpl_vars['pic']['No']; ?>
" readOnly=true>
        <br>
        排序:<br><input type="text" name="rank" value="<?php echo $this->_tpl_vars['pic']['rank']; ?>
">
        <br>
        文字ID:<br><input type="text" name="text_id" value="<?php echo $this->_tpl_vars['pic']['text_id']; ?>
" readOnly=true>
        <br>
        图片英文说明:<br><textarea name="pic_text" rows="4" cols="20"><?php echo $this->_tpl_vars['pic']['pic_text']; ?>
</textarea>
        <br>
        图片中文说明:<br><textarea name="pic_text_zh" rows="4" cols="20"><?php echo $this->_tpl_vars['pic']['pic_text_zh']; ?>
</textarea>
        <br>
        <img src="<?php echo $this->_plugins['function']['url'][0][0]->_pi_func_url(array('controller' => 'edit','action' => 'showbysize','id' => $this->_tpl_vars['pic']['id']), $this);?>
" >
        <br>
        上传文件:<br><input name="pic" type="file" id="pic">
        <br>
        <input type="reset" value="重置">
        <input type="submit" value="提交">
    </form>
</body>
</html>